package com.miaoan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工档案
 * @TableName employee
 */
@TableName(value ="employee")
@Data
public class Employee implements Serializable {
    /**
     * 员工编号
     */
    @TableId(type = IdType.AUTO)
    private Long employeeId;

    /**
     * 员工年龄
     */
    private Integer employeeAge;

    /**
     * 员工头像
     */
    private String profilePicture;

    /**
     * 员工名族
     */
    private String employeeNationality;

    /**
     * 员工学历
     */
    private String employeeEducation;

    /**
     * 试用工资
     */
    private Double trialOfSalary;

    /**
     * 正式工资
     */
    private Double officialSalary;

    /**
     * 出生日期
     */
    private Date dateOfBirth;

    /**
     * 入职时间
     */
    private Date entryTime;

    /**
     * 辞职时间
     */
    private Date resignTime;

    /**
     * 员工性别（1：男，2：女）
     */
    private Integer employeeSex;

    /**
     * 医生id
     */
    private Long doctorId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}